#!/bin/sh
sysName=$1
serverIP=$2
servers=`awk 'BEGIN{list="'${serverIP}'";split(list,ip_list,",");for(ip in ip_list){print ip_list[ip];}}'`
for server in ${servers[*]};do
    curl -H "Host:${sysName}.ewt360.com" "http://${server}/" > /dev/null 2>&1
done
